package ooday1.home.for1;

public class for1 {
//    3.输出1到100的累加和———————————————————练习for循环
    public static void main(String[] args) {
        int age=0;
        for (int i=1;i<101;i++){
            age+=i;
        }
        System.out.println(age);

    }
}
